


<?

$row = getRecord("tbl_content", "id=".$_REQUEST['id']);

?>
<div id="center_titlebg"><?=$row["name"]?> (<?=dateFormat($row['last_modified'], $_lang)?>)<br /></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="content_mobile">
     

                <tr>

                  <td><div align="justify" style="padding-left:10px; padding-right:10px"><? if($row["image_large"]==''){}

		else {?>

		 
		<img src="<?=$row["image_large"]?>"  width="230" height="200" hspace="8" vspace="4" align="left" /> 
		
		<? }?><?=$row["detail"]?></div>

  <br />

  </td>

</tr>

</table>				

<table align="center" border="0" width="98%" cellpadding="0" cellspacing="0">

	<tr>

                  <td>

				  <table width="100%" border="0" cellspacing="0" cellpadding="0">

                    <tr>

                      <td class="style222">C&aacute;c tin kh&aacute;c...</td>

                        </tr>

<?

$code = $_lang == 'vn' ? 'vn_news' : 'en_news';

$parentWhere = "and parent = (select id from tbl_content_category where code='".$code."')";



$sql = "select * from tbl_content where status=0 and id <> '".$row['id']."' and parent=".$row['parent']." $parentWhere order by sort,date_added desc";

$result = @mysql_query($sql,$conn);

while($n=@mysql_fetch_assoc($result)){

?>

                    <tr>

                      <td class="style40"><img src="images/icon_66.jpg" width="9" height="9" hspace="7" />

					  <a href="./?frame=news_detail&id=<?=$n['id']?>" class="link"><?=$n['name']?></a> 

					  <span>(<?=date('d/m/Y',strtotime($n['date_added']))?>)</span><br />

                       </td>

                        </tr>

                   <? }?>

                    </table></td>

                    </tr>

</table>



			   